/**
 *
 *@author ZhouLan
 *@version 1.0.0
 */

export class CartGoods{
  price:number
  imgUrl:string
  goodsId:string//商品的id号
  num:number//购物车中商品数量
  selected:boolean//是否选中
  constructor(goodsId:string,imgUrl:string,price:number) {
    this.goodsId = goodsId
    this.imgUrl = imgUrl
    this.num = 1
    this.selected = true
    this.price = price
  }
}